<extend name="Public/base"/>
<block name="title">查看用户</block>
<block name="body">    
<div class="cl pd-20" style=" background-color:#5bacb6">
    <notempty name="user.headurl">
        <img class="avatar size-XL l" src="{$user.headurl}">
        <else/>
        <img class="avatar size-XL l" src="__PUBLIC__/static/h-ui/images/ucnter/avatar-default.jpg">
    </notempty>  
  <dl style="margin-left:80px; color:#fff">
    <dt><span class="f-18">{$user.username}</span> <span class="pl-10 f-12">余额：40</span></dt>
    <dd class="pt-10 f-12" style="margin-left:0">
        <notempty name="user.sign">
            {$user.sign}
        <else/>
            这家伙很懒，什么也没有留下
        </notempty>        
    </dd>
  </dl>
</div>
<div class="pd-20">
  <table class="table">
    <tbody>
        <tr>
        <th class="text-r">呢称：</th>
        <td>{$user.nickname}</td>
      </tr>
      <tr>
        <th class="text-r">环信：</th>
        <td>{$user.hname}</td>
      </tr>
      <tr>
        <th class="text-r" width="80">性别：</th>
        <td>
            <switch name="user.gender">
                <case value="0">保密</case>
                <case value="1">男</case>
                <case value="2">女</case>
            </switch>
        </td>
      </tr>
      <tr>
        <th class="text-r">手机：</th>
        <td>{$user.mobile}</td>
      </tr>
      <tr>
        <th class="text-r">情感状态：</th>
        <td>
            <switch name="user.emotion_status">
                <case value="0">保密</case>
                <case value="1">单身</case>
                <case value="2">恋爱中</case>
                <case value="2">已婚</case>
            </switch>
        </td>
      </tr>
       <tr>
        <th class="text-r">爱好：</th>
        <td>{$user.fav}</td>
      </tr>
      <tr>
        <th class="text-r">生日：</th>
        <td>{$user.birthyear}-{$user.birthmonth}-{$user.birthday}</td>
      </tr>
       <tr>
        <th class="text-r">出生地：</th>
        <td>{$user.birthprovince}{$user.birthcity}{$user.birtharea}</td>
      </tr>
      <tr>
        <th class="text-r">居住地：</th>
        <td>{$user.resideprovince}{$user.residecity}{$user.residearea}</td>
      </tr>
      <tr>
        <th class="text-r">注册时间：</th>
        <td>{$user.add_dateline|date="Y-m-d H:i:s",###}</td>
      </tr>
      <tr>
        <th class="text-r">经验值：</th>
        <td>{$user.experience}</td>
      </tr>
    </tbody>
  </table>
</div>
    
</block>
<block name="javascript">

</block>
